package com.doubao.doubao.model.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName("bms_affairs")
public class BmsAffairs implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Integer affairsId;

    /**
     * 内容
     */
    @TableField("group_id")
    private String groupId;


    @TableField("affairs_name")
    private String affairsName;

//    @TableField(fill = FieldFill.INSERT) //创建时自动填充
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

//    @TableField("file_exe")
//    private String fileExe;

}
